package com.zhiyi.coco.dao;

import com.zhiyi.coco.entity.Suger;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SugerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Suger record);

    int insertSelective(Suger record);

    Suger selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Suger record);

    int updateByPrimaryKey(Suger record);

    List<Suger> getAll(@Param("fid") Integer fId);

    Integer deleteByfId(@Param("fId") Integer fId);
}